package com.zbest.zpay.paycore.dal.mapper;

import org.apache.ibatis.annotations.Param;

import com.zbest.zpay.paycore.dal.model.PayInfoDO;

/**
 * Created by wenfeihu on 16/5/20.
 */
public interface PayInfoMapper {

    public int insert(PayInfoDO payInfoDO);

    public int updateStatus(@Param("payInfoId") String payInfoId,
                            @Param("destStatus") String destStatus,
                            @Param("srcStatus") String srcStatus);

    public PayInfoDO query(@Param("payInfoId") String payInfoId);
}
